import { isChromeGT90, isWebkit } from '@/utils';

export default {
  methods: {
    fixFakeGap (direction, el, value = '15px') {
      el = el || this.$refs.fakeGap.$el;
      try {
        if (!isChromeGT90() && isWebkit() && el) {
          el.style[direction] = value;
        }
      } catch (e) {}
    }
  }
}
